package com.yhb.yinsheng.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QRCode {
    private String qrCode; // 二维码正文
    private Long validThrough; // 到期时间

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String consumeCardId;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String userId;
}